package com.snts.synchronization;

import java.io.IOException;

import com.snts.synchronization.core.AuthRequest;
import com.snts.synchronization.core.AuthResponse;
import com.snts.synchronization.core.BaseResponse;
import com.snts.synchronization.core.SyncRequest;
import com.snts.synchronization.core.SyncResponse;
import com.snts.synchronization.protocol.ProtocolException;

public interface SyncService {
	AuthResponse auth(AuthRequest authRequest) throws Exception;
	boolean ping(String sessionId) throws Exception;
	SyncResponse sync(SyncRequest syncRequest) throws Exception;
	void confirm(SyncResponse syncResponse) throws Exception;
}
